Fix build without WebEngine=OFF.
authorSandro Knauß <hefee@debian.org>
Sun, 9 Mar 2025 00:03:27 +0000 (01:03 +0100)
committerSandro Knauß <hefee@debian.org>
Sun, 9 Mar 2025 11:31:15 +0000 (12:31 +0100)
Origin: Debian
Forwarded: https://github.com/nextcloud/desktop/pull/7988
Last-Update: 2025-02-09

Gbp-Pq: Name 0008-Fix-build-without-WebEngine-OFF.patch

src/gui/wizard/owncloudwizard.cpp

index 3a209312bd0b788c4ffdc760405a8892b9628e59..be162d10d707acd8719b7207a216ba2cb2306a59 100644 (file)
@@ -374,7 +374,9 @@ void OwncloudWizard::displayError(const QString &msg, bool retryHTTPonly)
     switch (static_cast<WizardCommon::Pages>(currentId())) {
     case WizardCommon::Page_Welcome:
     case WizardCommon::Page_Flow2AuthCreds:
+#ifdef WITH_WEBENGINE
     case WizardCommon::Page_WebView:
+#endif // WITH_WEBENGINE
     case WizardCommon::Page_TermsOfService:
         break;